package com.lbmb.photodrawaimanager.exception;

/**
 * @author hanWang
 * @Title:
 * @Package
 * @Description:
 * @date 2023/8/26:45 下午
 */
public class ErrorCodeException extends RuntimeException  {
    private static final long serialVersionUID = -4556515656361708799L;
    private int errorCode = 200;

    public ErrorCodeException(int errorCode, String message) {
        super(message);
        this.setErrorCode(errorCode);
    }

    public int getErrorCode() {
        return this.errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }
}
